/* pages/messagecenter/messagecenter.wxss */
.title{
    width: 100%;
    height: 100rpx;
    padding: 0 40rpx;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .titleText{
        font-size: 36rpx;
        font-weight: 700;
        color: #333;
    }
    .clear{
        display: flex;
        align-items: center;
        .clearImg{
            width: 36rpx;
            height: 40rpx;
            margin-right: 8rpx;
        }
        .clearText{
            font-size: 28rpx;
            color: #1677FF;
        }
    }
}
.messagelists{
    width: 100%;
    padding-left: 40rpx;
    box-sizing: border-box;
    .messagelist{
        display: flex;
        align-items: center;
        margin:  20rpx 0;
        .messageIcon{
            width: 70rpx;
            height: 70rpx;
            margin-right: 30rpx;
            position: relative;
            .messageImg{
                width: 100%;
            }
            .red{
                position: absolute;
                top: 0;
                right: 0;
                width: 20rpx;
                height: 20rpx;
                background-color: rgba(255, 77, 79, 1);
                border-radius: 50%;
            }
        }
        .messageInfo{
            width: 560rpx;
            .titleInfo{
                height: 60rpx;
                display: flex;
                align-items: center;
                justify-content: space-between;
                .messageTitle{
                    font-size: 32rpx;
                    color: #000;
                    font-family: 'Microsoft YaHei UI', sans-serif;
                }
                .messageTime{
                    font-size: 24rpx;
                    color: #aaa;
                    font-family: 'Microsoft YaHei UI', sans-serif;
                }
            }
            .detailInfo{
                font-size: 28rpx;
                color: #7f7f7f;
                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-line-clamp: 2; /* 显示两行 */
                -webkit-box-orient: vertical;
            }
        }
    }
}